﻿using SqlSugar;

namespace WebApi.Core.Model
{ 
    /// <summary>
    /// 用户实体类 注意这个SugarTable要改成你自己的表名字不然会报错哦
    /// </summary>
    [SugarTable("T_Users")]
    public class Users
    {
        [SugarColumn(IsPrimaryKey=true,IsIdentity = true)]
        public int Id { get; set; }
        public string UserId { get; set; }
        public string UserName { get; set; }
        public string PasswordHash { get; set; } 
        public bool IsActive { get; set; }
        public bool IsDeleted { get; set; }
        public DateTime? CreateTime { get; set; } 
        public string Creator { get; set; } 
        public DateTime? UpdateTime { get; set; } 
        public string Updater { get; set; }
    }
}
